package com.top10.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author ellen
 * @since 2018-11-23
 */
@TableName("tb_user_browse")
public class UserBrowse extends Model<UserBrowse> {

	private static final long serialVersionUID = 1L;

	/**
	 * 序号
	 */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	/**
	 * 唯一标识码
	 */
	private String uuid;
	/**
	 * 用户uuid
	 */
	@TableField("user_uuid")
	private String userUuid;
	/**
	 * 浏览目标uuid
	 */
	@TableField("target_uuid")
	private String targetUuid;
	/**
	 * 是否删除
	 */
	private Boolean isdeleted;
	/**
	 * 创建时间
	 */
	private Date createtime;
	/**
	 * 更新时间
	 */
	private Date updatetime;
	/**
	 * 创建者
	 */
	private String creator;
	/**
	 * 更新者
	 */
	private String mender;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getUserUuid() {
		return userUuid;
	}

	public void setUserUuid(String userUuid) {
		this.userUuid = userUuid;
	}

	public String getTargetUuid() {
		return targetUuid;
	}

	public void setTargetUuid(String targetUuid) {
		this.targetUuid = targetUuid;
	}

	public Boolean getIsdeleted() {
		return isdeleted;
	}

	public void setIsdeleted(Boolean isdeleted) {
		this.isdeleted = isdeleted;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getMender() {
		return mender;
	}

	public void setMender(String mender) {
		this.mender = mender;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "UserBrowse{" +
				", id=" + id +
				", uuid=" + uuid +
				", userUuid=" + userUuid +
				", targetUuid=" + targetUuid +
				", isdeleted=" + isdeleted +
				", createtime=" + createtime +
				", updatetime=" + updatetime +
				", creator=" + creator +
				", mender=" + mender +
				"}";
	}
}